package com.example.ivideo_2211a.home

import com.example.common.mvi.MviResult

/**
 * Home页面的操作结果
 */
sealed class HomeResult : MviResult {
    object Loading : HomeResult()
    object Refreshing : HomeResult()
    object LoadingMore : HomeResult()
    data class Success(val videos: List<HomeData>, val isLoadMore: Boolean = false) : HomeResult()
    data class Error(val error: String) : HomeResult()
}